# zope imports
from zope.interface import Interface

class IEasyArticle(Interface):
    """Marker interface for EasyArticle content objects.
    """

class IData(Interface):
    """Interface which provides methods to retrieve data from objects.
    """
    def getContent():
        """Returns a dict with content data of context.
        """
        
    def getData():
        """Returns a dict with edit urls and content data context.
        """
    
    def getEditUrls():
        """Returns a dict with serveral edit URLs for context.
        """    
        
class IObjectsManagement(Interface):
    """
    """
    def getObjects(portal_types=None):
        """Returns sub objects of context. If portal types is given it returns
        just these types otherwise all sub objects.
        """
        
    def getObjectsAsDict(portal_types=None):
        """Returns sub objects of context as dictionary. If portal types is 
        given it returns just these types otherwise all sub objects.
        """